
threadpool : threadpool.cc
	g++ -o $@ $^ -std=c++17 -lpthread -g

all : promise future

packaged_task:packaged_task.cc
	g++ -o $@ $^ -std=c++17 -lpthread

promise:promise.cc
	g++ -o $@ $^ -std=c++11 -lpthread 

future:future.cc
	g++ -o $@ $^ -std=c++11 -lpthread 

.PHONY:clean
clean:
	rm -f promise future threadpool